﻿@{
    var ddService = Fn.GetService<DdService>();
    var user = ddService.GetPcUser();
    if (user != null)
    {
        @JObject.FromObject(user).ToString()
    }

    var id = T.GetUrlParam("id").ToInt();

    T.Channel("新闻中心").GetRecurl($"did=232&sf=232", 2);
        ///newlist/232
}

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
    <TITLE> New Document </TITLE>
    <script src="https://g.alicdn.com/gdt/jsapi/1.9.9/index.js" type="text/javascript"></script>
    <script src="./js/jquery1.11.3.min.js" type="text/javascript"></script>
    <script src="./js/index.js" type="text/javascript"></script>
</HEAD>

<BODY>11
    <script>
        window.Logged = @((user != null)?1:0);
        if (!Logged) {
            dd.getAuthCode({}).then((result) => {
                if (result) {
                    App.Post("/plus/yqd/main/loginpc", result, (res) => {
                        if (res.success) {
                            alert("登录成功!");
                        }
                    })
                }
            })
        }
    </script>

</BODY>
</HTML>
